package leetcode.simulation;

import leetcode.simulation.common.SimulationUtils;

import java.util.Arrays;

class Solution1817 {
    public int[] findingUsersActiveMinutes(int[][] logs, int k) {
        return SimulationUtils.findingUsersActiveMinutes(logs, k);
    }
}

public class leetcode1817 {
    public static void main(String[] args) {
        Solution1817 solution1817 = new Solution1817();
        int[][] logs = {{0, 5}, {1, 2}, {0, 2}, {0, 5}, {1, 3}};
        int[][] logs1 = {{1, 1}, {2, 2}, {2, 3}};
        test1817(solution1817, logs, 5);
        test1817(solution1817, logs1, 4);
    }

    private static void test1817(Solution1817 solution1817, int[][] logs, int k) {
        int[] usersActiveMinutes = solution1817.findingUsersActiveMinutes(logs, k);
        System.out.println(Arrays.toString(usersActiveMinutes));
    }
}
